package ulmermark.demo.concurrency.core.inbox;

import ulmermark.demo.concurrency.core.Target;

public class Callback<T> {
	final private Target<T> target;
	final private T payload;
	
	public Callback(Target<T> target, T payload) {
		this.target = target;
		this.payload = payload;
	}

	public Target<T> getTarget() {
		return target;
	}

	public T getPayload() {
		return payload;
	}

	
}
